package com.lemon.cloud.lock.annotation;

import java.lang.annotation.*;

/**
 * @author lemon
 * @return
 * @description 锁的参数
 * @date 2019-09-05 12:48
 */
@Target({ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface CacheParam {

    /**
     * @return java.lang.String
     * @description 字段名称
     * @author lemon
     * @date 2019-09-05 12:48
     */
    String name() default "";
}